Create Certificate Signing Request

Use the following arguments to specify an action “createcsr” to create a CSR in the MFP.

Argument

Description

Possible Values

--address

Address of the MFP (required)

 

--deviceuser

The account to use for authenticating into the device (required)

 

--devicepassword

The password of the account for authenticating into the device

 

--onlyssl

Allow only an SSL connection to the device.

  • If false: The Tool will attempt to connect using SSL and if a connection cannot be made, it will attempt a non-SSL connection. The Tool will not validate certificates when communicating via SSL.

  • If true: The Tool will only attempt to connect using SSL. To connect to a device, it must already have been configured with a certificate for SSL communications.

true, false (default: false)

--certvalidation

Used only when “onlyssl” is set to true. If “certvalidation” is also set to true, a connection to the device will only be established if the SSL certificate can be validated as a trusted certificate. Trusted Root Certificates are managed through the built-in Windows Certificate Management.

true, false (default: false)

--cn

The common name used for the certificate signing request (required)

 

--org

The organization used for the certificate signing request (required)

 

--ou

The organizational unit used for the certificate signing request (required)

 

--email

The email address used for the certificate signing request (required)

 

--city

The city/locality used for the certificate signing request (required)

 

--state

The state/province used for the certificate signing request (required)

 

--country

The country used for the certificate signing request (required)

 

--alg

The algorithm signature used for the certificate signing request (required)

sha1WithRSA-1024, sha1WithRSA-2048, sha256WithRSA-2048, sha256WithRSA-4096,

sha512WithRSA-2048, sha512WithRSA-4096

--certnumber

The MFP certificate location (required)

1-6

--csrfile

The path/file to output the CSR file (optional)

 

 

When the CSR is generated on the device, the tool will retrieve and output it to standard with prefix “CSR: “. If the parameter “csrfile” is specified, it will also write the CSR output to that file.

Sample Output – Success

Starting device session

Locking device

Creating CSR

CSR: -----BEGIN CERTIFICATE REQUEST-----

MIIE0TCCArkCAQAwgYsxCzAJBgNVBAYTAkNBMRAwDgYDVQQIEwdPbnRhcmlvMRIw

EAYDVQQHEwlLaXRjaGVuZXIxDjAMBgNVBAoTBVJpY29oMQ0wCwYDVQQLEwRTRENB

MRgwFgYDVQQDEw9STlA1ODM4NzkxN0Y5NjExHTAbBgkqhkiG9w0BCQEWDnN0ZXZl

bkB5a2YucmNpMIICIjANBgkqhkiG9w0BAQEFAAOCAg8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oEG4wNVw8MVCbH5lpwg23Ercf3XnvA2foRM7WXwcGYYcXLPBnvER

vGfUz0BfYQWma8jW6uBGJnw6gP6hRP0x/uzENT5HUAB+aPaQiqlxbR9TsVFBzWbR

q0HFhlu2VW+Ho6IYYNDC43galWWMsOM/TbyZ+WqAmXurKW2C3hFlJ8nLOYJJFr1o

NWptpW3i7DTSFjzza8ZS6SPoXZiUYzhFtaRZnuqOYW23qbTos5IyoAZf3LfdGCNY

98UGtfbBPawCVY0dc0BmKvMChHW26wRzb40vWpaRrO0AQ9tq6l2ZCDY5YBZlaB2N

SQcCY4qRbYnCPRSzzRlryIVo0t4WnU1g1UMe4TxKhpMhj9ns+Q==

-----END CERTIFICATE REQUEST-----

Writing CSR to file: C:\tmp\out.csr

Unlocking device

Ending device session